package bavaria.hightech.comparator;

import java.util.Comparator;
import bavaria.hightech.banking.Transaction;

public class DateComp implements Comparator<Transaction>{

	@Override
	public int compare(Transaction arg0, Transaction arg1) {

		return arg0.getTime().compareTo(arg1.getTime());
	}

}